-
Notifications
You must be signed in to change notification settings - Fork 5.7k
[CI] Add coverage failed tips and rerun #72392
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
.github/workflows/_Coverage.yml
Outdated
run: | | ||
if [ "${{ env.COVERAGE_EXIT_CODE }}" -ne 0 ]; then | ||
echo "Coverage failed" | ||
echo "Coverage check failed, single test has passed, please do not rerun, check whether the code is fully executed and recommit." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
echo "Coverage check failed, single test has passed, please do not rerun, check whether the code is fully executed and recommit." | |
echo "Coverage check failed, unit test has passed, please do not rerun, check whether the code is fully executed and recommit." |
展示下当前覆盖率是多少,但是没达到要求的 90%
.github/workflows/_Coverage.yml
Outdated
if [ "${{ env.COVERAGE_EXIT_CODE }}" -ne 0 ]; then | ||
echo "Coverage failed" | ||
echo "Coverage check failed, unit tests have all passed, please do not rerun, check whether the code has been fully executed and recommit." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这块能拿到覆盖率结果吗,展示下当前覆盖率是多少?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
coverage_judge.sh里调的py会展示这个
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #72392 +/- ##
==========================================
Coverage ? 0
==========================================
Files ? 0
Lines ? 0
Branches ? 0
==========================================
Hits ? 0
Misses ? 0
Partials ? 0 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Category
Environment Adaptation
PR Types
Others
Description
添加coverage覆盖率不达标提示、rerun,删除压缩解压-p参数导致解压build目录需要root权限
pcard-67164